#include <BustaNetInternal.h>
Inheritance diagram for MPPlayerDisconnect:
Public Member Functions | |
MPPlayerDisconnect (int pID, char *msg) | |
CONSTRUCTOR. | |
int | getPlayerID () |
Returns the disconnected player's identification number. | |
char * | getReason () |
Returns the reason for the player's disconnection. |
This message is received when a player has disconnected from the multiplayer game. Receivers of the message are told the identification number of the disconnected player as well as the reason for disconnection.
|
CONSTRUCTOR. Creates an instance of the MPPlayerDisconnect class.
|
|
Returns the disconnected player's identification number. Returns the integer identification number of the player who has disconnected
|
|
Returns the reason for the player's disconnection. Returns the reason for disconnection by the player. This could simply be that the player has decided to leave the game, the player has timed-out from the server, etc.
|